package com.lky.mall.member.feign;

import com.lky.common.utils.R;
import org.springframework.cloud.openfeign.FeignClient;
import org.springframework.web.bind.annotation.RequestMapping;

/**
 * @author lky_pc
 * @date 2025/7/22 14:22
 * @descripton 远程调用Coupon模块
 */
@FeignClient("mall-coupon")//参数填的是要远程调用配置文件的spring.application.name的参数
public interface CouponFeignService {

    //要调用的接口签名
    //这里路径包括配置文件的server.servlet.context-path的值和类的@RequestMapping("coupon/coupon")
    @RequestMapping("mall-coupon/coupon/coupon/member/list")
    public R memberCoupons();
}
